package com.rocky.project.model.admin;

import com.rocky.project.model.base.BaseEntity;

/**
 * @hibernate.class table = "t_user_role" dynamic-insert = "true" dynamic-update = "true"
 */
public class UserRoleR extends BaseEntity {
	private static final long serialVersionUID = -6604300154953479144L;
	private User user;
	private Role role;
	
	/**
	 * @hibernate.many-to-one column = "c_role_id" cascade="none"   not-null = "true"
	 */	
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	
	/**
	 * @hibernate.many-to-one column = "c_user_id" cascade="none"   not-null = "true"
	 */		
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	

}
